package com.fuqi.android.zhongcai.business.shuig.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.business.shuig.request.result.CreateVisitResult;
import com.fuqi.framework.network.api.AbsRequest;
import com.fuqi.framework.network.params.BaseParams;


/*
*  内勤保存回访接口
* */


public class CreateVisitApi extends AbsRequest<CreateVisitApi.CreateVistParams, CreateVisitResult> {

    public CreateVisitApi(CreateVistParams createVistParams, Listener<CreateVisitResult> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getCreateVisitUrl(), createVistParams, listener, errorListener, CreateVisitResult.class);
    }

    public static class CreateVistParams extends BaseParams {

        public CreateVistParams(String orderId, String remark,String visitContent,String visitType,String questionList) {

                put("ORDER_ID", orderId);
                put("REMARK", remark);
                put("VISIT_CONTENT", visitContent);
                put("VISIT_TYPE", visitType);
                put("QUESTION_LIST", questionList);
        }
    }


}
